package com.shenyi.wx.api;

import com.shenyi.wx.entity.UserCouponDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/06
 * @desc 会员优惠券
 * @see
 * @since 1.0
 */
public interface IApiUserCouponService {

    UserCouponDO queryObject(Integer id);

    UserCouponDO queryByCouponNumber(String couponNumber);

    List<UserCouponDO> queryList(Map<String, Object> map);


     int queryTotal(Map<String, Object> map);


     void save(UserCouponDO goods);


     void update(UserCouponDO goods);


     void delete(Integer id);


     void deleteBatch(Integer[] ids);
}
